<template>
    <div class="container-page-home">
        <div class="header">
            <div class="CompanyName">融媒体 有安米</div>
            <div class="iconfont icon-sousuo" @click="routerLink('search')"></div>
        </div>
         <itemSwiper></itemSwiper>
         <itemMenu></itemMenu>
         <itemRandom></itemRandom>
         <tabbar now-page="0"> </tabbar>
    </div>
</template>

<script>

import itemSwiper from '@/components/swiper'
import itemMenu from '@/components/item-menu'
import itemRandom from '@/components/item-random'
import tabbar from '@/components/tabbar'
export default {
    components:{
        itemSwiper,
        itemMenu,
        itemRandom,
        tabbar
    },
    methods:{
        routerLink(name){
            this.$router.push({name, query: {isLink: false}})
        }
    }
}
</script>

<style lang="less">
.container-page-home{
    width: 100%;
    padding: 0 2vw;
    box-sizing: border-box;
    background-color: #f8f8f8;
    .header{
        padding:48px 0 22px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        .CompanyName{
            font-size: 24px;
            font-weight: bold;
        }
        .iconfont{
            font-size: 24px;
        }
    }
    
}
</style>